import request from '@/utils/request';

export async function getAppInfoByAppName(data) {
  console.log(data);
  return request(`/api/apps/appInfo`, {
    method: 'post',
    data: data,
  });
}

// dva方式请求
export async function test(data) {
  console.log(data.payload);
  return request(`/api/apps/appInfo`, {
    method: 'post',
    data: data.payload,
  });
}

export async function queryAppPageList(data) {
  console.log(data);
  return request(`/api/apps/pageList`, {
    method: 'post',
    data: data,
  });
}
